
package myfirstjunit;

import org.junit.*;
import static org.junit.Assert.*;

public class MyFirstJunitTest {
    
    public MyFirstJunitTest() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

  
    @Test
    public void testGrade() {
        System.out.println("grade");
        int exam = 10;
        int ca = 10;
        String expResult = "Fail";
        String result = MyFirstJunit.grade(exam, ca);
        assertEquals(expResult, result);
        
         /* fail("The test case is a prototype."); */ 
    }

   
    @Test
    public void testMain() {
        System.out.println("main");
        String[] args = null;
        MyFirstJunit.main(args);
     /*   fail("The test case is a prototype."); */ 
    }
}
